package com.yl.auth.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yl.auth.model.entity.HuLiDengJiBianGeng;
import com.yl.auth.mapper.HuLiDengJiBianGengMapper;
import com.yl.auth.model.vo.HuLiDengJiBianGengVo;
import com.yl.auth.service.HuLiDengJiBianGengService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author L
 * @since 2023-07-04
 */
@Service
public class HuLiDengJiBianGengServiceImpl extends ServiceImpl<HuLiDengJiBianGengMapper, HuLiDengJiBianGeng> implements HuLiDengJiBianGengService {

    @Resource
    private HuLiDengJiBianGengMapper huLiDengJiBianGengMapper;
    @Override
    public Page<HuLiDengJiBianGeng> findAllConPage(Page<HuLiDengJiBianGeng> page1, HuLiDengJiBianGengVo huLiDengJiBianGengVo) {
        return huLiDengJiBianGengMapper.findAllConPage(page1,huLiDengJiBianGengVo);
    }

    @Override
    public String getLaoRenShenPiById(Long id) {
        return huLiDengJiBianGengMapper.getLaoRenShenPiById(id);
    }

    @Override
    public List<HuLiDengJiBianGeng> findAll() {
        return huLiDengJiBianGengMapper.findAll();
    }


    //    @Override
//    public Page<HuLiDengJiBianGeng> findAllHuLiDengJi(Page<HuLiDengJiBianGeng> page1, String name, String idNumber, String gender, Integer state) {
//        return huLiDengJiBianGengMapper.findAllHuLiDengJi(page1,name,idNumber,gender,state);
//    }
}
